package asava.trees;

/**
 * @author Tim Richter
 */
public final class ForEach extends ForIn {
    public ForEach(final Tree var,
                   final Tree expr,
                   final Tree body) {
        super(var, expr, body);
    }

    @Override
    public int kind() {
        return TreeKind.FOREACH;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
